• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

netplan: command not found

by admin

Netplan is a network configuration utility found on some distributions. It uses YAML description files to configure network interfaces. These files are stored in the /etc/netplan/ directory. You will use a text editor to create or modify interface configuration files. Netplan includes subcommands to make configurations more reliable. For example, you can enter sudo netplan to have the configuration file checked for syntax errors before attempting to implement it. The sudo netplan apply command actually makes the configuration change.

If you encounter the below error while running the netplan command:

netplan: command not found

you may try installing the below package as per your choice of distribution:

OS Distribution Command
Debian apt-get install netplan
Ubuntu apt-get install netplan
Kali Linux apt-get install netplan
Raspbian apt-get install netplan

Conclusion

Netplan uses simple YAML text files in the /etc/netplan folder to define the network settings for each network interface installed on the system. By default, Netplan just passes the network settings off to the NetworkManager tool, so you don’t need to worry about how the Netplan configuration files are set.

Filed Under: Linux

Some more articles you might also be interested in …

  1. How to backup Linux OS using “dd” Command
  2. nixos-rebuild Command Examples in Linux
  3. getopt: command not found
  4. git diff-files: Compare files using their sha1 hashes and modes
  5. fc: Open the most recent command and edit it
  6. clang-format: Tool to auto-format C/C++/Java/JavaScript/Objective-C/Protobuf/C# code
  7. dcfldd: Enhanced version of dd for forensics and security
  8. How to find the inode size of an ext2/ext3/ext4 filesystem?
  9. Linux OS Service ‘avahi-daemon’
  10. How to Enable IPv6 in CentOS/RHEL 8

You May Also Like

Primary Sidebar

Recent Posts

  • glab Command Examples
  • “glab repo” Command Examples
  • “glab release” Command Examples
  • “glab pipeline” Command Examples

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright