How to Launch Gcc in a Libertine Container
-
I am new here, so this may have already been discussed. I have created a libertine container in order to install sqlite3 and gcc packages. I also installed g++ and build essential in the container.
From the terminal I can launch sqlite3 and vim 3 editor.. However, I cannot launch gcc. It always gives a bash error command not found. In the container, there are no errors and the packages are all installed successfully.
What am I missing... how do I run Gcc. I have a very small program to comp
I am using the latest ubuntu on Nexus 5 phone. -
Is gcc a command line program? If so in Terminal command would be
libertine-launch -i xenial gcc(if Libertine container name is set as default, otherwise change "xenial" to the name you created), with any variable command you need for the command line app appended at the end of that command.Best regards,
Steve Berson -
@TotalSonic It's a compiler, so not something you'd really want to just run with
libertine-launchas such. Instead you'd want to uselibertine-launch -i xenial bashfor example to get a shell inside the container, and then usevimor other CLI tools (such as gcc). -
@dobey Thanks, for the first time I have been able to run the compiler.
Now I need to work thru the compiler errors. -
@mcappa2
I played with this a bit to compile Rust code. You can find my results here:
https://forums.ubports.com/topic/3581/compiling-rust-code-on-utThe most important part was putting files in a directory that Libertine can access; ~/Documents is an easy choice for that as it is simple to locate in either system.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login