LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 09-05-2006, 11:09 AM   #1
gonzojd7
Member
 
Registered: Oct 2005
Location: Florida, USA
Distribution: Ubuntu 8.04, 9.04
Posts: 37

Rep: Reputation: 15
Install software via cd Ubuntu server 6.06


Can anyone tell me how to install software from the command line in Ubuntu Dapper server using the Install cd. Also, when I type apt-get update, I get errors regarding repositories, but I'm trying to install the software from the install cd...Do I need to add the cd rom to apt/sources.list and if yes how?

Thanks in advance.
 
Old 09-05-2006, 02:14 PM   #2
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,191

Rep: Reputation: 49
you could locate the pkg that you want on the cd and use dpkg -i pkg.deb to install it.
 
Old 09-05-2006, 03:15 PM   #3
robbbert
Member
 
Registered: Oct 2005
Location: Hannover, Germany
Distribution: Let there be Ubuntu... :o)
Posts: 573

Rep: Reputation: 32
1. Normally, the CD-ROM, from which was installed, is added to /etc/apt/sources.list, automatically.

2. To edit that file:
$ sudo nano filename

3. To add a CD-ROM:
$ sudo apt-cdrom add
$ sudo apt-get update
 
Old 09-05-2006, 03:17 PM   #4
binary_y2k2
Member
 
Registered: Jul 2005
Location: England, UK
Distribution: Ubuntu 8.04 Server, Kubuntu 12.04
Posts: 698
Blog Entries: 1

Rep: Reputation: 31
Quote:
Originally Posted by gonzojd7
Can anyone tell me how to install software from the command line in Ubuntu Dapper server using the Install cd. Also, when I type apt-get update, I get errors regarding repositories, but I'm trying to install the software from the install cd...Do I need to add the cd rom to apt/sources.list and if yes how?

Thanks in advance.
If you don't have the internet then "apt-get update" won't be any use to you.
Look in your /etc/apt/sources.list and see if there is a line like:
Code:
deb cdrom:[Ubuntu 6.06 _Dapper Drake_ - Release i386 (20060531)]/ dapper main restricted
If it's commented out, then uncomment it. If it's not there then you use the command
Code:
sudo apt-cdrom add
to add the CD you have inserted to the source list, then you run
Code:
sudo apt-get upgrade
(You can comment out the servers to stop the errors showing)
When you have done that, you can just "sudo apt-get install [package]"
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
install apache and php on ubuntu server spank Ubuntu 15 07-28-2006 01:41 PM
Easy Ubuntu and Ubuntu Software updates not connecting to repository Edizzle Ubuntu 2 07-15-2006 05:20 PM
Ubuntu software install instructions ! bigjohn Linux - Newbie 1 05-07-2006 01:24 PM
Failed to install VMWare GSX Server in Ubuntu Breezy depam Linux - Software 5 03-20-2006 12:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 02:58 PM.

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