LinuxQuestions.org
Help answer threads with 0 replies.
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 10-20-2008, 07:15 AM   #1
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Rep: Reputation: 31
specify the install version


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
 
Old 10-20-2008, 09:19 AM   #2
makyo
Member
 
Registered: Aug 2006
Location: Saint Paul, MN, USA
Distribution: {Free,Open}BSD, CentOS, Debian, Fedora, Solaris, SuSE
Posts: 735

Rep: Reputation: 76
Hi.

I have not needed to do it, but:
Code:
           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
 
Old 10-20-2008, 12:08 PM   #3
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by makyo View Post
Hi.

I have not needed to do it, but:
Code:
           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
 
Old 10-20-2008, 12:39 PM   #4
makyo
Member
 
Registered: Aug 2006
Location: Saint Paul, MN, USA
Distribution: {Free,Open}BSD, CentOS, Debian, Fedora, Solaris, SuSE
Posts: 735

Rep: Reputation: 76
Hi.
Quote:
Originally Posted by ust View Post
... 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
and the result of apt-cache show tk8.4 is:
Code:
Package: tk8.4
Priority: optional
Section: libs
Installed-Size: 2656
Maintainer: Tcl/Tk Debian Packagers <pkg-tcltk-devel@lists.alioth.debian.org>
Architecture: i386
Version: 8.4.19-2
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.

The manual section at http://www.debian.org/doc/manuals/de...l/ch-dpkg.html may be useful for you to read.

Best wishes ... cheers, makyo
 
Old 10-20-2008, 12:52 PM   #5
loperz7
Member
 
Registered: Sep 2008
Posts: 53

Rep: Reputation: 15
Some terminals differentiate between upper case and lower case letters

Gentoo

Last edited by loperz7; 10-23-2008 at 04:08 AM.
 
Old 10-20-2008, 01:04 PM   #6
makyo
Member
 
Registered: Aug 2006
Location: Saint Paul, MN, USA
Distribution: {Free,Open}BSD, CentOS, Debian, Fedora, Solaris, SuSE
Posts: 735

Rep: Reputation: 76
Hi.
Quote:
Originally Posted by loperz7 View Post
Some terminals differentiate between upper case and lower case letters
If you are referring to the package names, none of the 23289 Debian repository package names (lenny) that I scanned (with grep) used upper case.

If you meant something else, please explain ... cheers, makyo
 
Old 10-20-2008, 01:34 PM   #7
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

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

http://packages.debian.org/etch/vsftpd
vsftpd (2.0.5-2)

Quote:
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)

Last edited by farslayer; 10-20-2008 at 01:47 PM.
 
  


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
Redhat install, looking for version/install recommendation alung Linux - Server 1 06-04-2008 05:24 PM
Regarding distribution + kernel version + gcc version + glib version. JCipriani Linux - General 8 04-19-2008 02:54 PM
How to install kernel version 2.4 on existing Kernel version 2.6 sudeepak Linux - Kernel 3 11-29-2007 08:10 AM
Install or not install newest GCC version on Solaris 10. Zepiroth Solaris / OpenSolaris 6 05-26-2006 02:42 AM
How do I install an old version of X? kleptophobiac Linux - Software 4 12-25-2003 04:56 PM

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

All times are GMT -5. The time now is 08:07 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