LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-23-2004, 12:50 PM   #1
Ghost of War
LQ Newbie
 
Registered: Feb 2002
Posts: 15

Rep: Reputation: 0
UPgrade ? regarding apt-get


If you have a package already installed on your system and you want to upgrade it with the latest version, would running the apt-get install <program> automatically upgrade the program or will it install over the current package on your system over writing settings and configs of that program?

Hope this question makes sense.

Thanks in advance!
 
Old 04-23-2004, 03:30 PM   #2
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
There are a couple of steps involved. If you want to keep the system up to date the process is apt-get update which updates the list of packages available on your system the next step is apt-get dist-upgrade. This last step compares the state of your system with the packages available and replaces any that have been updated.
 
Old 04-23-2004, 05:39 PM   #3
Ghost of War
LQ Newbie
 
Registered: Feb 2002
Posts: 15

Original Poster
Rep: Reputation: 0
so you just cant update one package at a time from the command line? I'm not looking to upgrade the distribution or updating ALL of the packages on my system. I just want to update a few select packages.
 
Old 04-23-2004, 06:16 PM   #4
comp12345
Member
 
Registered: Feb 2004
Posts: 467

Rep: Reputation: 30
"apt-get install package_name" will do what you want. The default for most programs is to use the config setting already in place.
 
Old 04-23-2004, 06:19 PM   #5
BobNz
Member
 
Registered: May 2003
Location: NewZealand
Distribution: RH9.0
Posts: 74

Rep: Reputation: 15
isnt it Ļapt-get install <packet name> upgradeĻ
without quotes
 
Old 04-23-2004, 07:03 PM   #6
comp12345
Member
 
Registered: Feb 2004
Posts: 467

Rep: Reputation: 30
If you type that, it will upgrade whatever package you have in <>, then it will upgrade anything else on the system that can be upgraded. When you type "apt-get install", anything that follows is a list. Kind of like using the rm command. If you type "rm a b c", it will remove the files named a, b, and c.
 
  


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
apt-get question: dist-upgrade vs upgrade Arodef Fedora 9 06-15-2012 01:33 PM
apt-get upgrade lodder Debian 5 11-24-2005 09:06 PM
can not apt-get upgrade rednuht Debian 17 09-01-2005 04:55 AM
What's the difference between apt-get upgrade and apt-get dist-upgrade? davidas Linux - Newbie 4 04-04-2004 08:19 PM
apt-get upgrade freelinuxcpp Debian 4 09-27-2003 03:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:03 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration