我有一个文件夹,其中包含这些软件包的 debian 文件:
advancecomp akonadi-backend-mysql akonadi-server akonadiconsole akregator
amor analitza-common ark astrometry.net audiocd-kio avogadro-data baloo
blinken blogilo bomber bovo build-essential cantor cantor-backend-kalgebra
cervisia chemical-mime-data consolekit dirmngr docbook docbook-to-man
docbook-xml docbook-xsl dolphin dpkg-dev dragonplayer edict fakeroot
festival festival-freebsoft-utils festlex-cmu festlex-poslex
festvox-kallpc16k filelight fonts-dustin fonts-lmodern freerdp-x11
freespacenotifier g++ g++-4.8 gawk gnugo gnupg-agent gnupg2 gpgsm granatier
graphviz gwenview icoutils imagemagick imagemagick-common jovie juk
kaccessible kaddressbook kajongg kalarm kalgebra kalgebra-common kalzium
kalzium-data kamera kanagram kanjidic kapman kapptemplate kate kate-data
katepart katomic kblackbox kblocks kbounce kbreakout kbruch kcachegrind
kcalc kcharselect kcolorchooser kcron kde-base-artwork kde-baseapps
kde-baseapps-bin kde-baseapps-data kde-config-cddb kde-config-cron
kde-config-pimactivity kde-full kde-icons-mono kde-plasma-desktop
kde-plasma-netbook kde-runtime kde-runtime-data kde-standard
kde-style-oxygen kde-wallpapers kde-wallpapers-default kde-window-manager
kde-window-manager-common kde-workspace kde-workspace-bin kde-workspace-data
kde-workspace-kgreet-plugins kde-zeroconf kdeaccessibility kdeadmin
kdeartwork kdeartwork-emoticons kdeartwork-style kdeartwork-theme-window
kdeedu kdeedu-kvtml-data kdegames kdegames-card-data kdegames-data
kdegames-mahjongg-data kdegraphics kdegraphics-mobipocket
kdegraphics-strigi-analyzer kdegraphics-thumbnailers kdelibs-bin
kdelibs5-data kdelibs5-plugins kdemultimedia kdenetwork
kdenetwork-filesharing kdenetwork-strigi-analyzers kdepasswd kdepim
kdepim-kresources kdepim-runtime kdepimlibs-kio-plugins kdeplasma-addons
kdesdk kdesdk-dolphin-plugins kdesdk-kio-plugins kdesdk-misc kdesdk-scripts
kdesdk-strigi-plugins kdesdk-thumbnailers kdetoys kdeutils kdewallpapers
kdewebdev kdf kdiamond kdm kdoctools kfilereplace kfind kfourinline kgamma
kgeography kgeography-data kget kgoldrunner kgpg khangman khelpcenter4 kig
kigo killbots kimagemapeditor kinfocenter kio-audiocd kiriki kiten kjots
kjumpingcube kleopatra klettres klettres-data klickety klines klinkstatus
klipper kmag kmahjongg kmail kmenuedit kmines kmix kmousetool kmouth kmplot
kmtrace knavalbattle knetwalk knode knotes kolf kollision kolourpaint4
kommander kompare konq-plugins konqueror konqueror-nsplugins konquest
konsole konsolekalendar kontact kopete kopete-message-indicator korganizer
kpartloader kpat krdc kremotecontrol kreversi krfb krosspython kruler
ksaneplugin kscd kscreensaver kscreensaver-xsavers kshisen ksirk ksnakeduel
ksnapshot kspaceduel ksquares kstars kstars-data ksudoku ksysguard
ksysguardd ksystemlog kteatime ktimer ktimetracker ktouch ktouch-data
ktuberling kturtle ktux kubrick kubuntu-debug-installer kuiviewer kuser
kwalletmanager kwordquiz kwrite libaccounts-qt1 libaio1 libakonadi-calendar4
libakonadi-contact4 libakonadi-kabc4 libakonadi-kcal4 libakonadi-kde4
libakonadi-kmime4 libakonadi-notes4 libakonadi-socialutils4
libakonadiprotocolinternals1 libalgorithm-diff-perl
libalgorithm-diff-xs-perl libalgorithm-merge-perl libanalitza5abi1
libanalitzagui5abi1 libanalitzaplot5abi1 libao-common libao4 libapr1
libaprutil1 libastro1 libattica0.4 libavcodec54 libavformat54 libavogadro1
libavutil52 libbaloocore4 libbaloofiles4 libbaloopim4 libbaloowidgets4
libbalooxapian4 libblas3 libboost-program-options1.54.0
libboost-python1.54.0 libboost-thread1.54.0 libcalendarsupport4 libcdt5
libcfitsio3 libcgraph6 libck-connector0 libcln6 libcomposereditorng4
libdiscid0 libdlrestrictions1 libdmtx0a libencode-locale-perl libepub0
libestools2.1 libeventviews4 libfakeroot libfftw3-double3
libfile-listing-perl libfont-afm-perl libftdi1 libgadu3 libgfortran3 libgif4
libgl2ps0 libgle3 libgpgme++2 libgps20 libgrantlee-core0 libgrantlee-gui0
libgsl0ldbl libgsm1 libgvc6 libgvpr2 libhtml-form-perl libhtml-format-perl
libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl
libhttp-cookies-perl libhttp-daemon-perl libhttp-date-perl
libhttp-message-perl libhttp-negotiate-perl libilmbase6
libincidenceeditorsng4 libindi-data libindi0c libindicate-qt1 libindicate5
libio-html-perl libjpeg-progs libjpeg-turbo-progs libjs-jquery
libjs-sphinxdoc libjs-underscore libkabc4 libkactivities-bin
libkactivities-models1 libkactivities6 libkalarmcal2
libkasten2controllers2abi1 libkasten2core2 libkasten2gui2
libkasten2okteta1controllers1abi1 libkasten2okteta1core1
libkasten2okteta1gui1 libkateinterfaces4 libkatepartinterfaces4 libkblog4
libkcal4 libkcalcore4 libkcalutils4 libkcddb4 libkcmutils4 libkcompactdisc4
libkdcraw-data libkdcraw23 libkde3support4 libkdeclarative5
libkdecorations4abi1 libkdecore5 libkdeedu-data libkdegames6 libkdepim4
libkdepimdbusinterfaces4 libkdesu5 libkdeui5 libkdewebkit5 libkdgantt2-0
libkdnssd4 libkeduvocdocument4 libkemoticons4 libkephal4abi1 libkexiv2-11
libkexiv2-data libkfbapi1 libkfile4 libkfilemetadata4 libkgapi2-2
libkholidays4 libkhtml5 libkidletime4 libkimap4 libkio5 libkipi-data
libkipi11 libkiten4abi1 libkjsapi4 libkjsembed4 libkldap4 libkleo4
libkmahjongglib4 libkmanagesieve4 libkmbox4 libkmediaplayer4 libkmime4
libknewstuff2-4 libknewstuff3-4 libknotifyconfig4 libkntlm4 libkolab0
libkolabxml1 libkomparediff2-4 libkonq-common libkonq5-templates
libkonq5abi1 libkonqsidebarplugin4a libkontactinterface4 libkopete4
libkparts4 libkpgp4 libkpimidentities4 libkpimtextedit4 libkpimutils4
libkprintutils4 libkpty4 libkresources4 libkrosscore4 libkrossui4
libksane-data libksane0 libksba8 libkscreen1 libkscreensaver5 libksgrd4
libksieve4 libksieveui4 libksignalplotter4 libktexteditor4 libktnef4
libktorrent5 libkubuntu0 libkunitconversion4 libkwineffects1abi4
libkwinglesutils1 libkwinglutils1abi3 libkworkspace4abi2 libkxmlrpcclient4
liblapack3 liblightdm-qt-3-0 liblqr-1-0 liblwp-mediatypes-perl
liblwp-protocol-https-perl libmagickcore5 libmagickcore5-extra
libmagickwand5 libmailcommon4 libmailimporter4 libmailtransport4
libmarblewidget18 libmediastreamer-base3 libmessagecomposer4 libmessagecore4
libmessagelist4 libmessageviewer4 libmicroblog4 libmms0 libmodemmanagerqt1
libmp3lame0 libmsn0.3 libmusicbrainz3-6 libmusicbrainz5-0 libmysqlclient18
libnepomuk4 libnepomukcleaner4 libnepomukcore4abi1 libnepomukquery4a
libnepomukutils4 libnet-http-perl libnetpbm10 libnetworkmanagerqt1
libnoteshared4 libnova-0.14-0 libntrack-qt4-1 libntrack0 liboath0
libokteta1core1 libokteta1gui1 libokularcore4 libopenal-data libopenal1
libopenbabel4 libopenconnect2 libopencore-amrnb0 libopencore-amrwb0
libopenexr6 libopenjpeg2 libopus0 libortp9 libotr5 libpam-ck-connector
libpathplan4 libphonon4 libpimactivity4 libpimcommon4
libplasma-geolocation-interface4 libplasma3 libplasmaclock4abi4
libplasmagenericshell4 libpolkit-qt-1-1 libpoppler-qt4-4 libprison0
libprocesscore4abi1 libprocessui4a libptexenc1 libpth20
libqaccessibilityclient0 libqalculate5 libqalculate5-data libqapt2
libqapt2-runtime libqca2 libqca2-plugin-ossl libqextserialport1 libqgpgme1
libqhull6 libqimageblitz4 libqjson0 libqmobipocket1 libqoauth1 libqrencode3
libqt4-qt3support libqt4-sql-mysql libqtlocation1 libquazip0 libruby1.9.1
libschroedinger-1.0-0 libsendlater4 libserf-1-1 libshp1 libsignon-qt1
libsigsegv2 libsolid4 libsoprano4 libsox-fmt-alsa libsox-fmt-base libsox2
libsp1c2 libspandsp2 libsrtp0 libstdc++-4.8-dev libstreamanalyzer0
libstreams0 libsvn1 libswscale2 libsyndication4 libtaskmanager4abi5
libtelepathy-qt4-2 libtemplateparser4 libthreadweaver4 libtidy-0.99-0
libupnp6 libva1 libvirtodbc0 libwcs4 libweather-ion6 libwlocate0 libwww-perl
libwww-robotrules-perl libx264-142 libxcb-composite0 libxcb-damage0
libxcb-keysyms1 libxcb-xtest0 libxerces-c3.1 libxml2-utils libxvidcore4
libyaml-0-2 libzip2 lightdm-kde-greeter lirc lmodern lokalize lskat luatex
marble marble-data marble-plugins mysql-client-core-5.5 mysql-common
mysql-server-core-5.5 nepomuk-core-data nepomuk-core-runtime netpbm
ntrack-module-libnl-0 odbcinst odbcinst1debian2 okteta okular optipng
oxygen-cursor-theme oxygen-icon-theme p7zip-full palapeli palapeli-data
parley parley-data phonon phonon-backend-gstreamer
phonon-backend-gstreamer-common phonon-backend-gstreamer1.0 picmi
pinentry-gtk2 pinentry-qt4 pkg-kde-tools plasma-containments-addons
plasma-dataengines-addons plasma-dataengines-workspace plasma-desktop
plasma-desktopthemes-artwork plasma-netbook plasma-nm plasma-runners-addons
plasma-scriptengine-javascript plasma-scriptengine-superkaramba
plasma-wallpapers-addons plasma-widget-folderview plasma-widget-lancelot
plasma-widget-message-indicator plasma-widget-networkmanagement
plasma-widgets-addons plasma-widgets-workspace polkit-kde-1 poxml
python-avogadro python-beautifulsoup python-dateutil python-enchant
python-iniparse python-kde4 python-levenshtein python-numpy python-pyfits
python-qt4-sql python-simplejson python-utidylib python-vobject qapt-batch
qhull-bin qtdeclarative4-kqtquickcharts-1 rocs ruby ruby1.9.1 scdaemon
setserial sgml-data shared-desktop-ontologies soprano-daemon sound-icons sox
sp speech-dispatcher-festival step subversion svgpart sweeper systemsettings
tex-common texlive-base texlive-binaries texlive-latex-base
texlive-latex-base-doc texlive-luatex translate-toolkit ttf-dejavu-core
ttf-sjfonts umbrello update-notifier-kde valgrind virtuoso-minimal
virtuoso-opensource-6.1-bin virtuoso-opensource-6.1-common vorbis-tools
xscreensaver-data xscreensaver-data-extra xscreensaver-gl
xscreensaver-gl-extra xscreensaver-screensaver-bsod
是否可以使用命令从文件夹安装这些 debian 文件?
注意:debian 文件可能不是最新版本。该文件夹中还有更多 .deb 文件,我不想将它们全部添加到 apt。
答案1
从本地存储库安装
您可以使用apt-get使用临时缓存目录:
sudo apt-get -o dir::cache::archives="/home/user/newcache" install `cat list0.txt`
如何 :
- 该文件
list0.txt
列出了所有包裹名字。
你在问题中贴的那个就够了。 - 软件包文件位于目录中
/home/user/newcache
。
当然,请使用您保存文件的目录。
- 该文件
您可以使用软件包:
cat list_package_filename.txt | awk '{print "dpkg -i "$1}' | /bin/sh
如何:
- 文件中
list_package_filename.txt
有一个列表,其中包含文件的名称对于包裹。
- 文件中
答案2
输入命令:
$ cd /路径
更改包含这些包的文件夹的路径。
然后运行:
$ sudo dpkg -i *.deb
安装软件包。