|
|
ru.linux- RU.LINUX --------------------------------------------------------------------- From : Vasya Poluden 2:5085/75.128 13 Jul 2003 20:41:24 To : Sergey Prohorenko Subject : deb --------------------------------------------------------------------------------
Hi, Sergey!
как-то 11 Июл 03, Sergey Prohorenko написал(а) к Vasya Poluden:
VP>> скачал я с инета ispell_uk.deb
VP>> как его поставить? apt-get или что еще?
>> ------------ Windows Clipboard ------------
SP> How to do apt-get install for local debs ? {[debian.org]}
SP> During this brief step by step guide I am going to tell you how I created
SP> the Packages file so that I can do apt-get install < package name >
SP> for the debs on my local Hard Disk.
SP> I had downloaded konqueror 2.1 using apt-get install konqueror from the
SP> net. It also downloaded the other dependend packages along with konqueror
SP> on my hard disk.
SP> Due to Partition Table corruption I had to reinstall debian. Now my
problem
SP> was to install konqueror. One way was to do dpkg -i < package-name > in
the
SP> dependecy order.
SP> This is like rpm installation,not the debian way. But I wanted to install
SP> it the debian way apt-get install konqueror, so that konqueror is
installed
SP> along with all the dependencies.
SP> Here we go -->>
SP> 1. Create a file overridefile (u can give any name to this file) with
the
SP> contents of the directory
SP> (list of deb filenames in that directory)
SP> * cd /var/pkgs/helix
SP> * find . -name "*.deb" > overridefile
SP> Now the 'overridefile' should look something like this :
SP> ./aalib1_1.2-helix1_i386.deb
SP> ./abiword_0.7.10-helix1_i386.deb
SP> ./bonobo_0.23-helix4_i386.deb
SP> ./codecommander_0.9.7-helix1_i386.deb
SP> ./eog_0.5-helix1_i386.deb
SP> There are other options which u can specify in the override file
SP> which I don't need. man dpkg-scanpackages for further details on this.
SP> 2. dpkg-scanpackages . overridefile > Packages
SP> 3. Add the following in /etc/apt/sources.list
SP> deb file:/var/pkgs/helix ./
SP> 4. apt-get update
SP> Now you can do apt-get install < any package from that directory > :-)
ты б еще на немецком написал я б может что-то еще понял.
Bye Sergey!
--- GoldED+/LNX 1.1.5-030227
* Origin: -= :)) Солнечный Воронеж.Net =- (2:5085/75.128)
Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.linux/401468d55960.html, оценка из 5, голосов 10
|