Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- web.xml
- 네트워크
- JavaScript
- Windows 10
- bash
- lsof
- resource
- context
- import
- port
- find
- DB 도메인
- tomcat
- ssh
- profile
- Quartz
- 단축키
- GIT
- Eclipse
- netsh
- VirtualBox
- IntelliJ
- grep
- maVen
- copy-dependencies
- Source
- Mac
- Windows
- xargs
- 공통표준용어
Archives
- Today
- Total
develog
[ubuntu] apt 패키지 오프라인으로 설치하기 본문
아래 명령으로 패키지만 다운로드한다
# reinstall 로 이미 설치된 패키지도 다시 다운로드 받는다
# --download-only 옵션으로 설치는 하지 않고 다운로드만 받는다
# /var/cache/apt/archives 경로에 *.deb 파일이 다운로드 받아진다
$ sudo apt reinstall --download-only -y curl
인터넷 안되는 서버에 파일을 옮긴 후 설치를 진행한다
# *.deb 파일명 앞에 경로(./)를 적어서 리포지토리를 검색하지 않도록 한다
$ sudo apt install ./curl_7.68.0-1ubuntu2.21_amd64.deb
Comments