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.
I would like to install ( apt-get ) a package to my debian server ,can advise can I specify the version that I want to install ? for example , I would like to install vsftp version 1.01 , instead of use apt-get install vsftp , how can I do it ? thx
A specific version of a package can be selected for installation by
following the package name with an equals and the version of the
package 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 distribution or the Archive name (stable, testing,
unstable).
-- excerpt from man apt-get (lenny)
A specific version of a package can be selected for installation by
following the package name with an equals and the version of the
package 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 distribution or the Archive name (stable, testing,
unstable).
-- excerpt from man apt-get (lenny)
Best wishes ... cheers, makyo
thanks ,
I tried it , but it pop the version could not be find , but I sure this version is vaild ( as I found it on the offical web site ) , can advise what can i do ? thx
... I tried it , but it pop the version could not be find , but I sure this version is vaild ( as I found it on the offical web site ) ...
I'm not sure what you mean by the official web site. If the package is in the repository and can be found with apt-cache, then you should be able to install it with apt-get. For example, I used apt-cache search tcl, and, in the output were these lines:
Code:
tk8.3 - Tk toolkit for Tcl and X11, v8.3 - run-time files
tk8.3-dev - Tk toolkit for Tcl and X11, v8.3 - development files
tk8.3-doc - Tk toolkit for Tcl and X11, v8.3 - manual pages
tk8.4 - Tk toolkit for Tcl and X11, v8.4 - run-time files
tk8.4-dev - Tk toolkit for Tcl and X11, v8.4 - development files
tk8.4-doc - Tk toolkit for Tcl and X11, v8.4 - manual pages
tk8.5 - Tk toolkit for Tcl and X11, v8.5 - run-time files
so sometimes the developers use different names for versions of packages that are in the repository, If you mean "web site" that is not a Debian repository, then you'll need to see if there is a deb package, download it, and use dpkg to install it.
That means that the package would not have been vetted by the Debian project / developers. Personally, I'd be leery of that. Occasionally, I have installed software in my home directory, but only for very simple packages.
If there is no deb package or if it is a src (source) package, then I think that you'll need to configure, build, install it, or for a deb src, dpkg may do that for you. Not difficult, but not trivial. I almost always use the repository binary packages.
1.0.1 is an old version...are you sure you want that specific version ? that would be really, really, REALLLLLY old.
the vsftpd download site has 1.0.1 listed as being from November of 2001
version 1.0.1 could probably be hacked or DOSd with a wet paper bag and a limp noodle by this stage of the game
The vsftpd website lists the current version as: Jul 2008 - vsftpd-2.0.7 released
I think you would be better off to just install vsftpd from the Debian repositories.
vsftpd 1.1.3 generates different error messages depending on whether or not a valid username exists, which allows remote attackers to
identify valid usernames.
Quote:
vsftpd prior to version 2.0.5 allows any number of invalid attempts on the same connection this memory leak could lead to an eventual DoS. (CVE-2008-2375)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.