I am a new to Ubuntu. I have used Windows before, but I am not able to install new software in Ubuntu from the offline setup files, so I don't know how to install software in Ubuntu. Please tell me how to install new software, such as C Compiler, JDK, etc. in Ubuntu.
Asked
Active
Viewed 1.1k times
2 Answers
0
To install the softwares you have mentioned type the following commands in command line
For JDK:
sudo apt-get install openjdk-7-jdk
You can use the gcc compiler
sudo apt-get install gcc
For other softwares you can search via apt just type the command to list
sudo apt-cache search {software-name}
Or the best way for you to install a software is by using Ubuntu Software centre
See the link here
Tarun
- 4,275
- 15
- 53
- 74
0
If you are preparing to build software, then
sudo apt-get install build-essential
is a good place to start - installs your basic C and C++ compilers, libraries and utilities, all in one operation.
There are several JDKs that can be installed from the standard repos (make sure you have enabled the partner repo in /etc/apt/sources.list). @Tarun showed above how to install openjdk, but see here for how to install Oracle Java8.
David Purdue
- 2,517