패키지의 .deb 파일에 대한 직접 링크를 얻는 방법

패키지의 .deb 파일에 대한 직접 링크를 얻는 방법

내 Ubuntu 소프트웨어 센터에서 앱을 설치하고 싶지만 다운로드하기에는 용량이 조금 큽니다.텍스메이커약 760MB입니다).

저는 현재 대학에 재학 중이며, 제출할 수 있는 서비스를 받고 있습니다.직접파일에 연결하면 높은 대역폭으로 해당 파일이 다운로드됩니다.

이제 제 질문은 '현재 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

저장소 기본 URL( 출력 http://archive.ubuntu.com/ubuntu/의 마지막 줄 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

그러나 종속성 문제로 어려움을 겪을 수 있다는 점을 고려해야 합니다.

또한 공식 사이트의 크기는 deb13MB 미만이므로 귀하가 말하는 내용과 관련하여 이는 다른 종속성이 많이 있음을 증명합니다.

를 사용하여 패키지 종속성을 확인할 수 있습니다 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
    ............

관련 정보