# ifconfig 설치
리눅스를 설치하고 ifconfig 를 실행하면 아래와 같이 에러 메시지가 출력된다.

실행 환경: Ubuntu 22.04

```
Command 'ifconfig' not found, but can be installed with:
sudo apt install net-tools
```
아, 그럼 net-tools 패키지를 설치하면 되겠거니 하고, 설치 명령어를 실행한다.
```
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package net-tools is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'net-tools' has no installation candidate
```

해결 방법은 apt (Advanced Package Tool) 의 DB를 업데이트 하는 것이다.

( 아래 링크 참고 -> https://askubuntu.com/questions/14685/what-does-package-package-has-no-installation-candidate-mean)

```
$ sudo apt-get update
```

다시 net-tools 를 설치하면 잘 설치된다.

Error

python3-distutils 를 설치하려고 하니, 유효하지 않은 패키지라는 메시지가 출력된다.

Package python3-distutils is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

해당 패키지는 deprecated됐고, 다른 패키지로 대체가 가능하다.
출처는 다음과 같다.
출처: https://stackoverflow.com/questions/78438738/how-to-install-python3-distutils-on-ubuntu-24-04

Solution

Ubuntu 24.04 기준 아래 명령어를 실행해보자.

sudo apt install python3-setuptools

다행히 정상적으로 설치가 잘 진행된다.

Error

뭐, 에러까진 아닌 것 같고, en_US.UTF-8 에 종속적인 무언가를 설치하려고 할 때 나오는 메시지같다.

Please make sure locale 'en_US.UTF-8' is available on your system

해결방법은 생각보다 간단하다.

Solution

Ubuntu 24.04 에서 작업 중 위와 같은 에러 메시지가 나오면 간단하게 language-pack-en-base 을 설치한다.

$ sudo apt install language-pack-en-base

+ Recent posts