Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Please excuse my ignorance but I have no idea as to how to install software in Linux. I have used DOS then windows since it first came out but am now ready for a change. I managed to install Debian 8 on this pc which can dual-boot to windows xp pro without any major hiccups but didn't install all of the programs that were available on the DVD and now, I want to install them but don't know how.
Sorry to be a pain but you have to start somewhere.
Hi Len & welcome. I assume you have an internet connection set up. (If not ignore what follows).
To start with can you post the contents of the /etc/apt/sources.list file on your system.
jdk
As a little background, Linux distros handle program (package, in Linux) installation in a far different way from DOS/Windows.
Most distros have "repositories" ("repos") in which packages formatted for installation in that distro's format are stored. When you want to install something, you open your package manager (software center on some distros), search for the appropriate package, then tell the package manager to install it. In the process, the package manager resolves "dependencies," that is, any libraries or other programs that the target program needs to run.
If that doesn't work, you compile software from sources, which usually is far less complicated than it sounds.
This article gives a pretty good overview of the process.
Since the Debian DVD is in your sources.list, you can use your package manager to install software from it, though it would be easier to remark it out and install programs from the repos, as long as you have an active internet connection.
1. Open a terminal and give the following and give the following command:
Code:
su
You will be prompted for the root password. Type in the root password and hit the enter key. N.B. for security reasons nothing will appear on the terminal as you type the root password.
Once you have done that you will notice that the prompt character has changed from "$" (normal user) to "#" (super user).
Now give the following commands:
Code:
apt-get update
apt-get upgrade
Now all the packages that have already been installed have been updated to their latest versions. Next decide on what new packages you want to install and give the command
Code:
apt-get install <package name>
This is done while you are still super user. Depending on what packages you're looking for you may have to add additional repositories to your sources.list file.
jdk
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.