ifconfig missing after Ubuntu 18.04 install
I've just installed Ubuntu 18.04 and selected "minimal install". I then tried to run ifconfig
in the terminal and got the following message
-bash: ifconfig: command not found
How come the net-tools
package is not installed by default any more?
command-line 18.04 ubuntu-minimal ifconfig
add a comment |
I've just installed Ubuntu 18.04 and selected "minimal install". I then tried to run ifconfig
in the terminal and got the following message
-bash: ifconfig: command not found
How come the net-tools
package is not installed by default any more?
command-line 18.04 ubuntu-minimal ifconfig
@dessert True. Maybe you can tell me if thefc-cache
command is a defualt package or not?
– JiiB
May 3 '18 at 17:14
@JiiB On a box without a GUI? No, probably not. And a minimal install would be without X.
– vidarlo
May 3 '18 at 17:16
1
I edited your question to address solelyifconfig
because it would be considered too broad and possibly primarily opinion-based as it was. If you're asking about other specific commands/packages as well, please ask a new question for them.
– dessert
May 3 '18 at 17:46
2
You might be interested in how to find a package name by the command name and How do I list the default installed packages?.
– dessert
May 3 '18 at 17:52
add a comment |
I've just installed Ubuntu 18.04 and selected "minimal install". I then tried to run ifconfig
in the terminal and got the following message
-bash: ifconfig: command not found
How come the net-tools
package is not installed by default any more?
command-line 18.04 ubuntu-minimal ifconfig
I've just installed Ubuntu 18.04 and selected "minimal install". I then tried to run ifconfig
in the terminal and got the following message
-bash: ifconfig: command not found
How come the net-tools
package is not installed by default any more?
command-line 18.04 ubuntu-minimal ifconfig
command-line 18.04 ubuntu-minimal ifconfig
edited May 20 '18 at 0:26
Seth♦
34.9k27112165
34.9k27112165
asked May 3 '18 at 17:06
JiiBJiiB
328126
328126
@dessert True. Maybe you can tell me if thefc-cache
command is a defualt package or not?
– JiiB
May 3 '18 at 17:14
@JiiB On a box without a GUI? No, probably not. And a minimal install would be without X.
– vidarlo
May 3 '18 at 17:16
1
I edited your question to address solelyifconfig
because it would be considered too broad and possibly primarily opinion-based as it was. If you're asking about other specific commands/packages as well, please ask a new question for them.
– dessert
May 3 '18 at 17:46
2
You might be interested in how to find a package name by the command name and How do I list the default installed packages?.
– dessert
May 3 '18 at 17:52
add a comment |
@dessert True. Maybe you can tell me if thefc-cache
command is a defualt package or not?
– JiiB
May 3 '18 at 17:14
@JiiB On a box without a GUI? No, probably not. And a minimal install would be without X.
– vidarlo
May 3 '18 at 17:16
1
I edited your question to address solelyifconfig
because it would be considered too broad and possibly primarily opinion-based as it was. If you're asking about other specific commands/packages as well, please ask a new question for them.
– dessert
May 3 '18 at 17:46
2
You might be interested in how to find a package name by the command name and How do I list the default installed packages?.
– dessert
May 3 '18 at 17:52
@dessert True. Maybe you can tell me if the
fc-cache
command is a defualt package or not?– JiiB
May 3 '18 at 17:14
@dessert True. Maybe you can tell me if the
fc-cache
command is a defualt package or not?– JiiB
May 3 '18 at 17:14
@JiiB On a box without a GUI? No, probably not. And a minimal install would be without X.
– vidarlo
May 3 '18 at 17:16
@JiiB On a box without a GUI? No, probably not. And a minimal install would be without X.
– vidarlo
May 3 '18 at 17:16
1
1
I edited your question to address solely
ifconfig
because it would be considered too broad and possibly primarily opinion-based as it was. If you're asking about other specific commands/packages as well, please ask a new question for them.– dessert
May 3 '18 at 17:46
I edited your question to address solely
ifconfig
because it would be considered too broad and possibly primarily opinion-based as it was. If you're asking about other specific commands/packages as well, please ask a new question for them.– dessert
May 3 '18 at 17:46
2
2
You might be interested in how to find a package name by the command name and How do I list the default installed packages?.
– dessert
May 3 '18 at 17:52
You might be interested in how to find a package name by the command name and How do I list the default installed packages?.
– dessert
May 3 '18 at 17:52
add a comment |
2 Answers
2
active
oldest
votes
ifconfig
is deprecated, and has been so for quite a number of years. The new kid in town is the ip
command, which can configure IP's, routes, and everything associated with networks.
You can install ifconfig
with sudo apt install net-tools
, if you absolutely need to have it. If not, start learning ip
.
In short, it is removed because you should not use it. It has mediocre IPv6 support, the ip
command is a better replacement. I find sources saying ifconfig was deprecated back in 2012, so I'm not surprised it's finally removed.
You may be able to install it on 18.04, but on future releases it may disappear entirely. I would consider it not being installed by default as a warning shot: learn ip
.
Thus ifconfig
is probably in a special class. In previous versions of Ubuntu it was included in minimal installs. It is now being phased out, and you explicitly have to install it. This can not be taken to indicate that any other packages are missing.
12
To further clarify, the command ip is included in the minimal installation of Ubuntu 18.04, no need to install anything additional.
– 64pi0r
May 3 '18 at 17:37
2
You may findifconfig
installed, if you install one of the various packages which still haven't been updated to useip
, or if you upgraded from an older release of Ubuntu. But you should be aware thatifconfig
may not be present on modern systems, and should not rely on it. And actuallyifconfig
was deprecated in 2009.
– Michael Hampton
May 4 '18 at 4:03
8
For those of you too lazy to read the documentation, the commandip address
, orip a
, is the new way to list the system's interfaces and IP addresses.
– Hitechcomputergeek
May 4 '18 at 4:45
18
Useip -c a
to highlight the IP addresses with colors.
– jingyu9575
May 4 '18 at 14:16
3
@jingyu9575 you changed my life
– I'm here for Winter Hats
May 4 '18 at 15:36
|
show 2 more comments
as addition to @vidarlo answer, you can put alias ifconfig='ip -c a'
to .bash_aliases
if you have typing habit.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1031640%2fifconfig-missing-after-ubuntu-18-04-install%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
ifconfig
is deprecated, and has been so for quite a number of years. The new kid in town is the ip
command, which can configure IP's, routes, and everything associated with networks.
You can install ifconfig
with sudo apt install net-tools
, if you absolutely need to have it. If not, start learning ip
.
In short, it is removed because you should not use it. It has mediocre IPv6 support, the ip
command is a better replacement. I find sources saying ifconfig was deprecated back in 2012, so I'm not surprised it's finally removed.
You may be able to install it on 18.04, but on future releases it may disappear entirely. I would consider it not being installed by default as a warning shot: learn ip
.
Thus ifconfig
is probably in a special class. In previous versions of Ubuntu it was included in minimal installs. It is now being phased out, and you explicitly have to install it. This can not be taken to indicate that any other packages are missing.
12
To further clarify, the command ip is included in the minimal installation of Ubuntu 18.04, no need to install anything additional.
– 64pi0r
May 3 '18 at 17:37
2
You may findifconfig
installed, if you install one of the various packages which still haven't been updated to useip
, or if you upgraded from an older release of Ubuntu. But you should be aware thatifconfig
may not be present on modern systems, and should not rely on it. And actuallyifconfig
was deprecated in 2009.
– Michael Hampton
May 4 '18 at 4:03
8
For those of you too lazy to read the documentation, the commandip address
, orip a
, is the new way to list the system's interfaces and IP addresses.
– Hitechcomputergeek
May 4 '18 at 4:45
18
Useip -c a
to highlight the IP addresses with colors.
– jingyu9575
May 4 '18 at 14:16
3
@jingyu9575 you changed my life
– I'm here for Winter Hats
May 4 '18 at 15:36
|
show 2 more comments
ifconfig
is deprecated, and has been so for quite a number of years. The new kid in town is the ip
command, which can configure IP's, routes, and everything associated with networks.
You can install ifconfig
with sudo apt install net-tools
, if you absolutely need to have it. If not, start learning ip
.
In short, it is removed because you should not use it. It has mediocre IPv6 support, the ip
command is a better replacement. I find sources saying ifconfig was deprecated back in 2012, so I'm not surprised it's finally removed.
You may be able to install it on 18.04, but on future releases it may disappear entirely. I would consider it not being installed by default as a warning shot: learn ip
.
Thus ifconfig
is probably in a special class. In previous versions of Ubuntu it was included in minimal installs. It is now being phased out, and you explicitly have to install it. This can not be taken to indicate that any other packages are missing.
12
To further clarify, the command ip is included in the minimal installation of Ubuntu 18.04, no need to install anything additional.
– 64pi0r
May 3 '18 at 17:37
2
You may findifconfig
installed, if you install one of the various packages which still haven't been updated to useip
, or if you upgraded from an older release of Ubuntu. But you should be aware thatifconfig
may not be present on modern systems, and should not rely on it. And actuallyifconfig
was deprecated in 2009.
– Michael Hampton
May 4 '18 at 4:03
8
For those of you too lazy to read the documentation, the commandip address
, orip a
, is the new way to list the system's interfaces and IP addresses.
– Hitechcomputergeek
May 4 '18 at 4:45
18
Useip -c a
to highlight the IP addresses with colors.
– jingyu9575
May 4 '18 at 14:16
3
@jingyu9575 you changed my life
– I'm here for Winter Hats
May 4 '18 at 15:36
|
show 2 more comments
ifconfig
is deprecated, and has been so for quite a number of years. The new kid in town is the ip
command, which can configure IP's, routes, and everything associated with networks.
You can install ifconfig
with sudo apt install net-tools
, if you absolutely need to have it. If not, start learning ip
.
In short, it is removed because you should not use it. It has mediocre IPv6 support, the ip
command is a better replacement. I find sources saying ifconfig was deprecated back in 2012, so I'm not surprised it's finally removed.
You may be able to install it on 18.04, but on future releases it may disappear entirely. I would consider it not being installed by default as a warning shot: learn ip
.
Thus ifconfig
is probably in a special class. In previous versions of Ubuntu it was included in minimal installs. It is now being phased out, and you explicitly have to install it. This can not be taken to indicate that any other packages are missing.
ifconfig
is deprecated, and has been so for quite a number of years. The new kid in town is the ip
command, which can configure IP's, routes, and everything associated with networks.
You can install ifconfig
with sudo apt install net-tools
, if you absolutely need to have it. If not, start learning ip
.
In short, it is removed because you should not use it. It has mediocre IPv6 support, the ip
command is a better replacement. I find sources saying ifconfig was deprecated back in 2012, so I'm not surprised it's finally removed.
You may be able to install it on 18.04, but on future releases it may disappear entirely. I would consider it not being installed by default as a warning shot: learn ip
.
Thus ifconfig
is probably in a special class. In previous versions of Ubuntu it was included in minimal installs. It is now being phased out, and you explicitly have to install it. This can not be taken to indicate that any other packages are missing.
edited May 3 '18 at 17:38
answered May 3 '18 at 17:12
vidarlovidarlo
10.4k52750
10.4k52750
12
To further clarify, the command ip is included in the minimal installation of Ubuntu 18.04, no need to install anything additional.
– 64pi0r
May 3 '18 at 17:37
2
You may findifconfig
installed, if you install one of the various packages which still haven't been updated to useip
, or if you upgraded from an older release of Ubuntu. But you should be aware thatifconfig
may not be present on modern systems, and should not rely on it. And actuallyifconfig
was deprecated in 2009.
– Michael Hampton
May 4 '18 at 4:03
8
For those of you too lazy to read the documentation, the commandip address
, orip a
, is the new way to list the system's interfaces and IP addresses.
– Hitechcomputergeek
May 4 '18 at 4:45
18
Useip -c a
to highlight the IP addresses with colors.
– jingyu9575
May 4 '18 at 14:16
3
@jingyu9575 you changed my life
– I'm here for Winter Hats
May 4 '18 at 15:36
|
show 2 more comments
12
To further clarify, the command ip is included in the minimal installation of Ubuntu 18.04, no need to install anything additional.
– 64pi0r
May 3 '18 at 17:37
2
You may findifconfig
installed, if you install one of the various packages which still haven't been updated to useip
, or if you upgraded from an older release of Ubuntu. But you should be aware thatifconfig
may not be present on modern systems, and should not rely on it. And actuallyifconfig
was deprecated in 2009.
– Michael Hampton
May 4 '18 at 4:03
8
For those of you too lazy to read the documentation, the commandip address
, orip a
, is the new way to list the system's interfaces and IP addresses.
– Hitechcomputergeek
May 4 '18 at 4:45
18
Useip -c a
to highlight the IP addresses with colors.
– jingyu9575
May 4 '18 at 14:16
3
@jingyu9575 you changed my life
– I'm here for Winter Hats
May 4 '18 at 15:36
12
12
To further clarify, the command ip is included in the minimal installation of Ubuntu 18.04, no need to install anything additional.
– 64pi0r
May 3 '18 at 17:37
To further clarify, the command ip is included in the minimal installation of Ubuntu 18.04, no need to install anything additional.
– 64pi0r
May 3 '18 at 17:37
2
2
You may find
ifconfig
installed, if you install one of the various packages which still haven't been updated to use ip
, or if you upgraded from an older release of Ubuntu. But you should be aware that ifconfig
may not be present on modern systems, and should not rely on it. And actually ifconfig
was deprecated in 2009.– Michael Hampton
May 4 '18 at 4:03
You may find
ifconfig
installed, if you install one of the various packages which still haven't been updated to use ip
, or if you upgraded from an older release of Ubuntu. But you should be aware that ifconfig
may not be present on modern systems, and should not rely on it. And actually ifconfig
was deprecated in 2009.– Michael Hampton
May 4 '18 at 4:03
8
8
For those of you too lazy to read the documentation, the command
ip address
, or ip a
, is the new way to list the system's interfaces and IP addresses.– Hitechcomputergeek
May 4 '18 at 4:45
For those of you too lazy to read the documentation, the command
ip address
, or ip a
, is the new way to list the system's interfaces and IP addresses.– Hitechcomputergeek
May 4 '18 at 4:45
18
18
Use
ip -c a
to highlight the IP addresses with colors.– jingyu9575
May 4 '18 at 14:16
Use
ip -c a
to highlight the IP addresses with colors.– jingyu9575
May 4 '18 at 14:16
3
3
@jingyu9575 you changed my life
– I'm here for Winter Hats
May 4 '18 at 15:36
@jingyu9575 you changed my life
– I'm here for Winter Hats
May 4 '18 at 15:36
|
show 2 more comments
as addition to @vidarlo answer, you can put alias ifconfig='ip -c a'
to .bash_aliases
if you have typing habit.
add a comment |
as addition to @vidarlo answer, you can put alias ifconfig='ip -c a'
to .bash_aliases
if you have typing habit.
add a comment |
as addition to @vidarlo answer, you can put alias ifconfig='ip -c a'
to .bash_aliases
if you have typing habit.
as addition to @vidarlo answer, you can put alias ifconfig='ip -c a'
to .bash_aliases
if you have typing habit.
edited Sep 30 '18 at 8:48
abu_bua
3,55881328
3,55881328
answered Sep 30 '18 at 0:51
BrendBrend
5112
5112
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1031640%2fifconfig-missing-after-ubuntu-18-04-install%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
@dessert True. Maybe you can tell me if the
fc-cache
command is a defualt package or not?– JiiB
May 3 '18 at 17:14
@JiiB On a box without a GUI? No, probably not. And a minimal install would be without X.
– vidarlo
May 3 '18 at 17:16
1
I edited your question to address solely
ifconfig
because it would be considered too broad and possibly primarily opinion-based as it was. If you're asking about other specific commands/packages as well, please ask a new question for them.– dessert
May 3 '18 at 17:46
2
You might be interested in how to find a package name by the command name and How do I list the default installed packages?.
– dessert
May 3 '18 at 17:52