
Ubuntuソフトウェアセンターからアプリをインストールしたいのですが、ダウンロードするには少し大きいです(テックスメーカーサイズは約 760 MB です。
私は現在大学に通っていますが、そこでは直接ファイルにリンクすると、高帯域幅でそのファイルがダウンロードされます。
ここで質問なのですが、Ubuntu ソフトウェア センターで現在利用可能なパッケージへの直接リンクを取得するにはどうすればよいでしょうか?
答え1
出力には .deb ファイルへの相対パスがありますapt-cache show
:
$ apt-cache show texmaker | grep ^Filename
Filename: pool/universe/t/texmaker/texmaker_4.4.1-1_amd64.deb
apt-cache policy
パッケージのリポジトリを表示します:
carvalho@S6-STI-N04:~ $ apt-cache policy texmaker
texmaker:
Installed: (none)
Candidate: 4.4.1-1
Version table:
4.4.1-1 0
500 http://archive.ubuntu.com/ubuntu/ wily/universe amd64 Packages
http://archive.ubuntu.com/ubuntu/
リポジトリのベース URL ( 、apt-cache policy
出力の最後の行) をファイルへの相対パスに結合するだけです。
http://archive.ubuntu.com/ubuntu/pool/universe/t/texmaker/texmaker_4.4.1-1_amd64.deb
もちろん、インストールするパッケージとそのすべての依存関係に対してこれを繰り返す必要があります。
答え2
このリンクにアクセスしてくださいhttp://www.xm1math.net/texmaker/download.html#linuxお好みのフレーバーをお選びください。
次に、以下を使用してインストールします。
sudo dpkg -i texmaker_ubuntu*.deb
ただし、依存関係の問題が発生する可能性があることを考慮する必要があります。
deb
また、公式サイトのサイズは13 MB 未満であるため、あなたが言っていることに関しては、他にも多くの依存関係があることがわかります。
を使用してパッケージの依存関係を確認できますapt-cache depends package-name
。
$ apt-cache depends texmaker
サンプル出力:
texmaker
Depends: libc6
Depends: libgcc1
Depends: libpoppler-qt4-3
Depends: libqt4-network
Depends: libqt4-xml
Depends: libqtcore4
Depends: libqtgui4
Depends: libqtwebkit4
Depends: libstdc++6
Depends: zlib1g
Depends: texmaker-data
Recommends: aspell
Recommends: ghostscript
ghostscript:i386
Recommends: netpbm
Recommends: psutils
psutils:i386
Recommends: texlive-latex-extra
|Recommends: <hunspell-dictionary>
hunspell-an
hunspell-ar
hunspell-da
hunspell-de-at
hunspell-de-at-frami
hunspell-de-ch
hunspell-de-ch-frami
hunspell-de-de
hunspell-de-de-frami
............