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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
05-29-2004, 10:18 AM
|
#1
|
LQ Newbie
Registered: May 2004
Location: London
Posts: 15
Rep:
|
force apt to install specific version
How do you force apt to install specific version? I want to install xfree86 4.3 or 4.4 but it just keeps on installing 4.1!
|
|
|
05-29-2004, 10:21 AM
|
#2
|
Member
Registered: Aug 2003
Location: N.C.
Distribution: rh9, fc1, slack 9.1, 10
Posts: 229
Rep:
|
it installs the newest version that is in the repository list that you have provided. if you just add a repository that has the version that you want, it will add this package.
|
|
|
05-29-2004, 10:25 AM
|
#3
|
Member
Registered: Aug 2003
Location: N.C.
Distribution: rh9, fc1, slack 9.1, 10
Posts: 229
Rep:
|
should have added that this repository list is located in /etc/apt/sources.list
|
|
|
05-29-2004, 10:48 AM
|
#4
|
LQ Newbie
Registered: May 2004
Location: London
Posts: 15
Original Poster
Rep:
|
Cheers for the answer. Say that the latest version of xfree86 is 4.4 but I want 4.3 cos 4.4 has caused problems on another pc? Do I have to search for a source which only has v 4.3 and then edit sources.list each time I want to do this?
|
|
|
05-29-2004, 10:57 AM
|
#5
|
Member
Registered: Aug 2003
Location: N.C.
Distribution: rh9, fc1, slack 9.1, 10
Posts: 229
Rep:
|
from the apt-get manual page:
Quote:
A specific version of a package can be selected for installation by
following the package name with an equals and the version of the pack-
age to select. This will cause that version to be located and selected
for install. Alternatively a specific distribution can be selected by
following the package name with a slash and the version of the distri-
bution or the Archive name (stable, testing, unstable).
|
you can find out all you might want to know by entering: hope this helps.
|
|
|
05-29-2004, 11:04 AM
|
#6
|
LQ Newbie
Registered: May 2004
Location: London
Posts: 15
Original Poster
Rep:
|
it does.
thank you very much for ur help
|
|
|
All times are GMT -5. The time now is 07:59 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|