From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 13 Nov 2003 15:50:41 +0300 From: Alexey Tourbin To: community-en@altlinux.org Message-ID: <20031113125041.GF2402@julia.office.altlinux.ru> Mail-Followup-To: community-en@altlinux.org References: <3FB35BC2.60805@cosmorom.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FoLtEtfbNGMjfgrs" Content-Disposition: inline In-Reply-To: <3FB35BC2.60805@cosmorom.com> Subject: [Comm-en] Re: installing src.RPMs X-BeenThere: community-en@altlinux.org X-Mailman-Version: 2.1.3 Precedence: list Reply-To: community-en@altlinux.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Nov 2003 12:50:42 -0000 Archived-At: List-Archive: List-Post: --FoLtEtfbNGMjfgrs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Nov 13, 2003 at 12:24:02PM +0200, Dinu Ioan wrote: > Hello! > I am new to ALT Linux and one problem I encountered is: > how can install a package.src.rpm because no option from the man pages > seems to work ( I get the message : No such file or directory ). Hello, First of all, you should have understood that package.src.rpm is a source package that is intended to be rebuilt in order to produce binary (or noarch) packages for installation. To build source packages, you need rpm-build package installed. Otherwise you will get "No such file or directory" message just as you described. The best way to install rpm-build package is with apt-get, since prerequisites like gcc and glibc-devel also have to be installed. With rpm-build installed, source package installation is done just as normal binary package installation: $ rpm -ivh packages.src.rpm Source file will be placed under ~/RPM hierarchy. --FoLtEtfbNGMjfgrs Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/s34hfBKgtDjnu0YRAmAxAKDbhwLVVsT1wsgLIqcXoTjEuYaFFwCfbgs+ 9YMja+MJjRqueowJVTSiknc= =7iKx -----END PGP SIGNATURE----- --FoLtEtfbNGMjfgrs--