This is based on APT HOWTO
http://www.debian.org/doc/manuals/ap.../index.en.html
===> 2.2 How to use APT locally
There is also > Ubuntu Documentation: Personal Repositories
Note
user is your log in name.
gutsy is part of Kubuntu code name (hoary, breezy, dapper, edgy, feisty, gutsy, hardy...)
Kubuntu wiki
http://en.wikipedia.org/wiki/Kubuntu
1) Make folders:
/home/user/debs/
and
/home/user/dists/gutsy/debs_for_gutsy/binary-i386/
2) Copy .deb files to the /home/user/debs/
3) Generate package info:
a) if your debs are in the /home/user/debs. You can use in the konsole (konsole is in the home folder - /home/user/):
b) or full path to the debs. Packages are in the /home/user/debs
4) Add your local repository in the /etc/apt/sources.list
Alt + F2 and type kdesudo kate /etc/apt/sources.list
(kdesu kate /etc/apt/sources.list)
Add: deb file:///home/user/ gutsy debs_for_gutsy
or
Synaptic:
Settings > Repositories
or
Adept:
Adept > Manage Repositories > | Third-Party Software | > Add
4b) Alternative to the 4, using sources.list.d
You can create mysources.list (or whatever.list) file in the /etc/apt/sources.list.d/:
(kdesudo kate /etc/apt/sources.list.d/mysources.list)
And add: deb file:///home/user/ gutsy debs_for_gutsy
man sources.list(5)
5) Update package lists.
6) Install (by Apt/Aptitude/Adept/Synaptic/Whatever).
When you have new debs -> Do 2 and 3 then 5 and 6.
Dpkg/Apt/Aptitude/Adept/Synaptic
FAQ: Package Managers
Dpkg
dpkg - package manager for Debian.
Apt
apt - Advanced Package Tool. APT is a management system for software packages.
Aptitude
A highly configurable console front-end for Debian APT. Aptitude is a text-based interface to the Debian GNU/Linux package system.
Adept
Adept is a GUI to the Advanced Packaging Tool for KDE. Adept is developed by Peter Ročkai and is sponsored by Canonical Ltd. through the Kubuntu project.
Synaptic
Synaptic is a graphical package management program for apt. It provides the same features as the apt-get command line utility with a GUI front-end based on Gtk+.
GDebi KDE
https://launchpad.net/gdebi
From Kubuntu 7.10 - Gutsy Gibbon
http://kubuntu.org/announcements/7.10-release.php
You need:
gdebi-core, Simple tool to install deb files
and
gdebi-kde, Simple tool to install deb files
Note
gdebi does not support multi-package installations
https://bugs.launchpad.net/ubuntu/+s...ebi/+bug/37649
gdebi should search for .debs in current folder
https://bugs.launchpad.net/ubuntu/+s...bi/+bug/134331
Links:
Topic: OpenOffice 2.2.3
http://kubuntuforums.net/forums/inde...opic=3086717.0
Topic: Adept for offline installation
http://kubuntuforums.net/forums/inde...opic=3087546.0
Topic: FAQ: Kubuntu without internet connection
http://kubuntuforums.net/forums/inde...opic=3085805.0
Bugs in gdebi in ubuntu
https://bugs.launchpad.net/ubuntu/+source/gdebi
http://www.debian.org/doc/manuals/ap.../index.en.html
===> 2.2 How to use APT locally
There is also > Ubuntu Documentation: Personal Repositories
Note
user is your log in name.
gutsy is part of Kubuntu code name (hoary, breezy, dapper, edgy, feisty, gutsy, hardy...)
Kubuntu wiki
http://en.wikipedia.org/wiki/Kubuntu
1) Make folders:
/home/user/debs/
and
/home/user/dists/gutsy/debs_for_gutsy/binary-i386/
2) Copy .deb files to the /home/user/debs/
3) Generate package info:
a) if your debs are in the /home/user/debs. You can use in the konsole (konsole is in the home folder - /home/user/):
Code:
dpkg-scanpackages debs /dev/null | gzip > /home/user/dists/gutsy/debs_for_gutsy/binary-i386/Packages.gz
Code:
dpkg-scanpackages /home/user/debs /dev/null | sed s/"\/home\/user\/"//g | \ gzip > /home/user/dists/gutsy/debs_for_gutsy/binary-i386/Packages.gz
Alt + F2 and type kdesudo kate /etc/apt/sources.list
(kdesu kate /etc/apt/sources.list)
Add: deb file:///home/user/ gutsy debs_for_gutsy
or
Synaptic:
Settings > Repositories
URI: file:///home/user/
Distribution: gutsy
Sections(s): debs_for_gutsy
Distribution: gutsy
Sections(s): debs_for_gutsy
or
Adept:
Adept > Manage Repositories > | Third-Party Software | > Add
4b) Alternative to the 4, using sources.list.d
You can create mysources.list (or whatever.list) file in the /etc/apt/sources.list.d/:
(kdesudo kate /etc/apt/sources.list.d/mysources.list)
And add: deb file:///home/user/ gutsy debs_for_gutsy
man sources.list(5)
SOURCES.LIST.D
The /etc/apt/sources.list.d directory provides a way to add sources.list entries in seperate files that end with .list. The format is the same as for the regular sources.list file.
The /etc/apt/sources.list.d directory provides a way to add sources.list entries in seperate files that end with .list. The format is the same as for the regular sources.list file.
6) Install (by Apt/Aptitude/Adept/Synaptic/Whatever).
When you have new debs -> Do 2 and 3 then 5 and 6.
Dpkg/Apt/Aptitude/Adept/Synaptic
FAQ: Package Managers
Dpkg
dpkg - package manager for Debian.
Apt
apt - Advanced Package Tool. APT is a management system for software packages.
Aptitude
A highly configurable console front-end for Debian APT. Aptitude is a text-based interface to the Debian GNU/Linux package system.
Adept
Adept is a GUI to the Advanced Packaging Tool for KDE. Adept is developed by Peter Ročkai and is sponsored by Canonical Ltd. through the Kubuntu project.
Synaptic
Synaptic is a graphical package management program for apt. It provides the same features as the apt-get command line utility with a GUI front-end based on Gtk+.
GDebi KDE
https://launchpad.net/gdebi
From Kubuntu 7.10 - Gutsy Gibbon
http://kubuntu.org/announcements/7.10-release.php
New for Kubuntu 7.10 is a KDE front end to the amazing APT package manager for third party packages. GDebi KDE makes it easier to install Debian based packages (.deb files) onto your system with just a click of the mouse. No more command line hassles when trying to manually install a package, and GDebi KDE even takes care of those pesky dependencies so you don't have to. Using GDebi KDE is simple, go to the directory where you have downloaded your package and just click on the file. Installation takes off, and you are on your way to a new application.
gdebi-core, Simple tool to install deb files
gdebi lets you install local deb packages resolving and installing
its dependencies. apt does the same, but only for remote (http, ftp)
located packages.
its dependencies. apt does the same, but only for remote (http, ftp)
located packages.
gdebi-kde, Simple tool to install deb files
This package contains the KDE user interface.
gdebi does not support multi-package installations
https://bugs.launchpad.net/ubuntu/+s...ebi/+bug/37649
gdebi should search for .debs in current folder
https://bugs.launchpad.net/ubuntu/+s...bi/+bug/134331
Links:
Topic: OpenOffice 2.2.3
http://kubuntuforums.net/forums/inde...opic=3086717.0
Topic: Adept for offline installation
http://kubuntuforums.net/forums/inde...opic=3087546.0
Topic: FAQ: Kubuntu without internet connection
http://kubuntuforums.net/forums/inde...opic=3085805.0
Bugs in gdebi in ubuntu
https://bugs.launchpad.net/ubuntu/+source/gdebi
Comment