command wget not found even though it's already installed - Ask Ubuntu


i have wget installed (version 1.17.1), when try use says:

no command '​wget' found, did mean:  command 'wget' package 'wget' (main)  command 'owget' package 'ow-shell' (universe)  command 'pwget' package 'pwget' (universe) wget: command not found 

i'm pretty sure i'm missing dumb here, can't figure out. help?

edit: result of

 echo $path, type -a wget , stat /usr/bin/wget 

is:

/home/danielgreenfeld/bin:/home/danielgreenfeld/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin  wget /usr/bin/wget  file: '/usr/bin/wget' size: 474656        blocks: 928        io block: 4096   regular file device: 808h/2056d  inode: 6160959     links: 1 access: (0755/-rwxr-xr-x)  uid: (    0/    root)   gid: (    0/    root) access: 2016-11-01 16:38:14.860447561 +0200 modify: 2016-06-14 11:18:09.000000000 +0300 change: 2016-11-01 16:14:17.066538291 +0200 birth:  ldd /usr/bin/wget:     linux-vdso.so.1 =>  (0x00007ffd4ff9f000) libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f53fcbfd000) libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f53fc9f8000) libssl.so.1.0.0 => /lib/x86_64-linux-gnu/libssl.so.1.0.0 (0x00007f53fc78e000) libcrypto.so.1.0.0 => /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 (0x00007f53fc34a000) libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f53fc130000) libidn.so.11 => /usr/lib/x86_64-linux-gnu/libidn.so.11 (0x00007f53fbefc000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f53fbb33000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f53fb916000) /lib64/ld-linux-x86-64.so.2 (0x0000556638a4a000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f53fb711000)  file -k /usr/bin/wget: /usr/bin/wget: elf 64-bit lsb shared object, x86-64, version 1 (sysv), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, gnu/linux 2.6.32, buildid[sha1]=34ad9f7e15210c48a07d185041d965f5681b8764, stripped\012- data  getfacl /usr/bin/wget: getfacl: removing leading '/' absolute path names # file: usr/bin/wget # owner: root # group: root user::rwx group::r-x other::r-x 

wget installed in /usr/bin, try full path:

/usr/bin/wget 

if it's not installed there presume did custom install, rather than

apt-get install wget 

if there somehow /usr/bin missing path:

echo $path 

so you'll have add it.


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User

sql server - "Configuration file does not exist", Event ID 274 - Super User