LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 06-06-2015, 10:57 AM   #1
lenjhunter52
LQ Newbie
 
Registered: Jun 2015
Location: Pinetown, South Africa
Distribution: Debian 8
Posts: 3

Rep: Reputation: Disabled
How to install software from DVD in Debian 8?


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.
 
Old 06-06-2015, 11:16 AM   #2
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,972
Blog Entries: 32

Rep: Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465
lenjhunter52,

Welcome to LQ.

This should help:

http://www.wikihow.com/Install-Software-in-Debian-Linux

From DVD

Insert appropriate DVD.

In Terminal:

Code:
# apt-cdrom add
Then for the package you want to install type:

Code:
# apt-get install <package-name>
(omit < and > )

Last edited by beachboy2; 06-06-2015 at 11:27 AM.
 
1 members found this post helpful.
Old 06-06-2015, 11:24 AM   #3
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
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
 
1 members found this post helpful.
Old 06-06-2015, 06:56 PM   #4
lenjhunter52
LQ Newbie
 
Registered: Jun 2015
Location: Pinetown, South Africa
Distribution: Debian 8
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thanks very much guys, I will plod away until it clicks into place. (Mrs. Robinson?)
 
Old 06-06-2015, 07:03 PM   #5
lenjhunter52
LQ Newbie
 
Registered: Jun 2015
Location: Pinetown, South Africa
Distribution: Debian 8
Posts: 3

Original Poster
Rep: Reputation: Disabled
#
Hi jdk

The contents of my /etc/apt/sources.list file are:


# deb cdrom:[Debian GNU/Linux 8.0.0 _Jessie_ - Official amd64 DVD Binary-1 20150425-12:54]/ jessie contrib main

deb cdrom:[Debian GNU/Linux 8.0.0 _Jessie_ - Official amd64 DVD Binary-1 20150425-12:54]/ jessie contrib main

deb http://httpredir.debian.org/debian/ jessie main
deb-src http://httpredir.debian.org/debian/ jessie main

deb http://security.debian.org/ jessie/updates main contrib
deb-src http://security.debian.org/ jessie/updates main contrib

# jessie-updates, previously known as 'volatile'
deb http://httpredir.debian.org/debian/ jessie-updates main contrib
deb-src http://httpredir.debian.org/debian/ jessie-updates main contrib
 
Old 06-06-2015, 08:17 PM   #6
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,324
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
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.

Last edited by frankbell; 06-06-2015 at 08:19 PM.
 
Old 06-06-2015, 11:30 PM   #7
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Do you have an internet connection?
 
Old 06-08-2015, 12:00 AM   #8
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian Install using DVD vikrang Debian 7 05-01-2011 10:05 AM
how can i install debian 5.06 in my pc i have downloaded debian-update-5.0.6-i386-DVD siddtanu Debian 2 10-21-2010 02:56 PM
would like to install debian to hard drive with install cd/ dvd ejames82 Debian 23 05-20-2010 12:04 PM
Debian Etch install from dvd, not authenticated by Debian jiobo Linux - Security 3 01-11-2009 07:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration