Author Topic: Need a Dummy's Guide to installing Avidemux on the new Ubuntu 16.04 LTS, 32 bit  (Read 2898 times)

Dick Diamond

  • Newbie
  • *
  • Posts: 5
Hi, I have been using Avidemux for a while on 15.04 (& before that on 14.04) but have lost it when upgrading to 16.04 (It no longer appears in the Ubuntu Software repository). I am on 32bit system.

When I try downloading it; after installing the Getdeb application into the Ubuntu Software, I am told that this link needs to be opened with an application - Send to: Apt URL (then) Choose an Application (and a box to choose) But cannot find an application which allows it to open or download....

As a pensioner with limited programming knowledge, please can you explain quite simply, how to retrieve or reinstate Avidemux onto my computer, as I have found it to be a very quick and powerful tool which suits all my editing needs. (I was happy enough with the older version which did all I wanted)

Thanks to anyone who can help.

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 5423
Any reason you're on 32-bit ubuntu? Does your hardware supports 64-bit, Is this a lot of work reinstalling from scratch? I don't have 32-bit ubuntu and can't build 32-bit avidemux 2.6.12.

You could try build your self:
avidemux 2.6.12 Compiling Avidemux on Ubuntu 16.04 LTS do take note this is for QT5
How to install Avidemux 2.5.6 in Ubuntu 16.04 LTS frame based, for older videos

Dick Diamond

  • Newbie
  • *
  • Posts: 5
Hi Jan,
Thanks for your help.

I'm not sure why I am on 32bit rather than 64, many years ago I used to run Windows in parallel with Ubuntu. I have a Lenovo-G575 laptop with 2 x AMD C-50 Processors and 3.6GiB Memory.

Sadly, either through my stupidity in these matters, or some other problem, I have had no joy with your suggestions.
After copying & pasting your codes:

After 2nd line of code was installed: For common plugins:
at the end I got
N: Ignoring file ‘getdeb.list.bck’ in directory ‘/etc/apt/sources.list.d/’ as it has an invalid filename extension

After 3rd line Additional (not mentioned in Wiki)
Package nvidia-cuda-toolkit 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
N: Ignoring file 'getdeb.list.bck' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: Package 'nvidia-cuda-toolkit' has no installation candidate

After the 1st line of your code was installed I did get some similar warnings and nothing seems to have changed in regard to still not having the tool...

I tried installing the NVIDIA-Linux-x86-367.35 from Nvidia which has appeared in my "download" box as a "run" file, as has an avidemux_2.6.12.tar.gz box. But I do not know what to do with these boxes? (I did mention needing the "Dummy" version of how to do these things).

Just tried the installation from Avidemux.org again, I can install the GetDeb repository in my Ubuntu Software, but when I try the install button for Avidemux, nothing happens, then the "cannot find" box comes up.

This all seems too complicated! I just clicked "Install" button from Ubuntu Software last time. Why have they taken Avidemux off their list? Guess I'll have to ask Ubuntu about that, but I really miss this great tool, so any further help would be greatly appreciated....

Thanks for your time,
Dick

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 5423
Lenovo-G575 laptop with 2 x AMD C-50 Processors:
CPU: AMD E-350 1.6 GHz (64 Bit support)
GPU: AMD Radeon HD 6310
so there is no nvidia card in that laptop, so no need to install nvidia stuff

when on line 1st command on line:
Code: [Select]
sudo apt-get update
Code: [Select]
sudo apt-get install build-essential cmake fakeroot g++ gcc libpng12-dev libsqlite3-dev make pkg-config yasm
Code: [Select]
sudo apt-get install qtbase5-dev qttools5-dev-tools libqt5script5
Code: [Select]
sudo apt-get install libasound2-dev libdca-dev libfontconfig1-dev libfribidi-dev libogg-dev libopencore-amrnb-dev libopencore-amrwb-dev libopus-dev libpulse-dev libtwolame-devlibva-dev vainfo  libvorbis-dev libvpx-dev libx265-dev x265 libxv-dev libzip-dev
when that is done, avidemux:
Code: [Select]
sudo apt-get update && sudo apt-get install gitget source code:
Code: [Select]
git clone https://github.com/mean00/avidemux2.gitthese  above need only performed once

now check for update and build avidemux:
Code: [Select]
cd ~/avidemux2 && git pull
Code: [Select]
cd ~/avidemux2 && bash bootStrap.bash --deb --without-gtk --with-cli
when all build well install avidemux:
Code: [Select]
cd ~/avidemux2/debs && sudo dpkg -i *
or manuall install: browse with file manager to,  copy paste this line in address bar of it:
Code: [Select]
~/avidemux2/debs( double mouse click)these debs in this order:

- avidemux3-core-2.6.12-160715-runtime.deb
- avidemux3-plugins-COMMON-2.6.12-160715-plugins.deb
- avidemux3-qt5-2.6.12-160715-runtime.deb
- avidemux3-plugins-qt5-2.6.12-160715-plugins.deb
- avidemux3-cli-2.6.12-160715-runtime.deb
- avidemux3-plugins-CLI-2.6.12-160715-plugins.deb
- avidemux3-settings-2.6.12-160715-settings.deb

after installation to start avidemux from terminal
Code: [Select]
/usr/bin/avidemux3_qt5or download the attachment and copy from download to desktop
- right click on the downloaded file
- select properties
- in [Permissions] enable Execute [v] allow executing file as program[Close]
- right click on the downloaded file
- Select Copy To in drop down menu: Select Desktop

« Last Edit: July 18, 2016, 12:43:50 PM by Jan Gruuthuse »

Dick Diamond

  • Newbie
  • *
  • Posts: 5
Hi Jan, thanks for all the code.
I had to wait until today to give it a try....
All went well: I eventually got:
**************************
***  Optional Library  ***
***      Summary       ***
**************************
*** Miscellaneous      ***
    gettext        Yes
    SDL            No
    XVideo         No
    VDPAU          No
    LIBVA          No
**************************
***   Release Build    ***
**************************
-- Packager=deb, valid choices= {deb,rpm,tgz,none}

-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    AVIDEMUX_SOURCE_DIR
    CMAKE_EDIT_COMMAND
    ENABLE_QT5

-- Build files have been written to: /home/siddartha/avidemux2/buildCli

However the last bit of your code:

when all build well install avidemux:
browse with file manager to,  copy paste this line in address bar of it:

I cannot work out how to "browse with file manager" in order to copy & paste the lines in the address bar!
I tried just pasting them into the Terminal but to no effect.

Still need help I fear (I did mention that I needed a "Dummy's" guide, being a Dummy!)
But I feel that, with your help, I am making some progress....
Dick

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 5423
Sorry  about that, the cd was dropped somewhere, try from terminal:
Code: [Select]
cd ~/avidemux2/debs && sudo dpkg -i *

Dick Diamond

  • Newbie
  • *
  • Posts: 5
Hi Jan,
Sorry, still having problems....
After putting your latest code line in, I got:
dpkg: error processing archive avidemux3-settings-2.6.12-160718-settings.deb (--install):
 trying to overwrite '/usr/lib/ADM_plugins6/pluginSettings/x264/3/PSP.json', which is also in package avidemux2.6-plugins-common 1:2.6.12-1~getdeb3~xenial
dpkg: dependency problems prevent configuration of avidemux3-cli-dev:
 avidemux3-cli-dev depends on avidemux3-core-runtime (>= 2.6.12); however:
  Package avidemux3-core-runtime is not installed.

dpkg: error processing package avidemux3-cli-dev (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of avidemux3-cli-runtime:
 avidemux3-cli-runtime depends on avidemux3-core-runtime (>= 2.6.12); however:
  Package avidemux3-core-runtime is not installed.

dpkg: error processing package avidemux3-cli-runtime (--install):
 dependency problems - leaving unconfigured
Setting up avidemux3-core-dev (2.6.12-160718) ...
dpkg: dependency problems prevent configuration of avidemux3-plugins-cli-plugins:
 avidemux3-plugins-cli-plugins depends on avidemux3-core-runtime (>= 2.6.12); however:
  Package avidemux3-core-runtime is not installed.

dpkg: error processing package avidemux3-plugins-cli-plugins (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of avidemux3-plugins-qt5-plugins:
 avidemux3-plugins-qt5-plugins depends on avidemux3-core-runtime (>= 2.6.12); however:
  Package avidemux3-core-runtime is not installed.

dpkg: error processing package avidemux3-plugins-qt5-plugins (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of avidemux3-qt5-dev:
 avidemux3-qt5-dev depends on avidemux3-core-runtime (>= 2.6.12); however:
  Package avidemux3-core-runtime is not installed.

dpkg: error processing package avidemux3-qt5-dev (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of avidemux3-qt5-runtime:
 avidemux3-qt5-runtime depends on avidemux3-core-runtime (>= 2.6.12); however:
  Package avidemux3-core-runtime is not installed.

dpkg: error processing package avidemux3-qt5-runtime (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 avidemux3-core-2.6.12-160718-runtime.deb
 avidemux3-plugins-COMMON-2.6.12-160718-plugins.deb
 avidemux3-settings-2.6.12-160718-settings.deb
 avidemux3-cli-dev
 avidemux3-cli-runtime
 avidemux3-plugins-cli-plugins
 avidemux3-plugins-qt5-plugins
 avidemux3-qt5-dev
 avidemux3-qt5-runtime


Thank you for all your help in trying to sort this out for me. However I have had so many errors during this process that I'm giving up now and will look for other programmes that will do the job. Maybe Avidemux will sort an easy way to install on Ubuntu 16.04 LTS, 32bit, sometime in the future....?

Thanks again,
Dick Diamond

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 5423
see if previous packages are installed and remove:
Code: [Select]
sudo apt-get --purge remove avidemux3-*avoid installing dev:
Code: [Select]
cd ~/avidemux2/debs && rm --interactive=never *-dev.debthen install build avidemux 2.6.12 again:
Code: [Select]
cd ~/avidemux2/debs && sudo dpkg -i *
you're nearly there, 16.04 did change some installs, hence the remaining issues.
« Last Edit: July 19, 2016, 11:27:54 AM by Jan Gruuthuse »

Dick Diamond

  • Newbie
  • *
  • Posts: 5
Hi Jan,
I finally got around to trying your last code suggestions, below is what I got.......
siddartha@siddartha-Lenovo-G575:~$ sudo apt-get --purge remove avidemux3-*
[sudo] password for siddartha:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'avidemux3-settings-settings' for glob 'avidemux3-*'
Note, selecting 'avidemux3-core-dev' for glob 'avidemux3-*'
Note, selecting 'avidemux3-core-runtime' for glob 'avidemux3-*'
Note, selecting 'avidemux3-plugins-common-plugins' for glob 'avidemux3-*'
Package 'avidemux3-core-runtime' is not installed, so not removed
Package 'avidemux3-plugins-common-plugins' is not installed, so not removed
Package 'avidemux3-settings-settings' is not installed, so not removed
The following packages were automatically installed and are no longer required:
  dvdisaster dvdisaster-doc gstreamer0.10-gconf gstreamer0.10-plugins-good
  gstreamer0.10-pulseaudio gstreamer0.10-x libcdaudio1
  libfreerdp-plugins-standard libslv2-9 libssh-4 linux-headers-4.2.0-39
  linux-image-4.2.0-42-generic linux-image-extra-4.2.0-42-generic
  remmina-common
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED
  avidemux3-core-dev*
0 to upgrade, 0 to newly install, 1 to remove and 25 not to upgrade.
After this operation, 1,453 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 784837 files and directories currently installed.)
Removing avidemux3-core-dev (2.6.12-160718) ...
N: Ignoring file 'getdeb.list.bck' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
siddartha@siddartha-Lenovo-G575:~$ cd ~/avidemux2/debs && rm --interactive=never *-dev.deb
siddartha@siddartha-Lenovo-G575:~/avidemux2/debs$ cd ~/avidemux2/debs && sudo dpkg -i *
Selecting previously unselected package avidemux3-cli-runtime.
(Reading database ... 784459 files and directories currently installed.)
Preparing to unpack avidemux3-cli-2.6.12-160718-runtime.deb ...
Unpacking avidemux3-cli-runtime (2.6.12-160718) ...
Preparing to unpack avidemux3-core-2.6.12-160718-runtime.deb ...
Unpacking avidemux3-core-runtime (2.6.12-160718) ...
dpkg: error processing archive avidemux3-core-2.6.12-160718-runtime.deb (--install):
 trying to overwrite '/usr/lib/libADM_audioParser6.so', which is also in package libavidemux2.6 1:2.6.12-1~getdeb3~xenial
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Selecting previously unselected package avidemux3-plugins-cli-plugins.
Preparing to unpack avidemux3-plugins-CLI-2.6.12-160718-plugins.deb ...
Unpacking avidemux3-plugins-cli-plugins (2.6.12-160718) ...
Preparing to unpack avidemux3-plugins-COMMON-2.6.12-160718-plugins.deb ...
Unpacking avidemux3-plugins-common-plugins (2.6.12-160718) ...
dpkg: error processing archive avidemux3-plugins-COMMON-2.6.12-160718-plugins.deb (--install):
 trying to overwrite '/usr/lib/ADM_plugins6/audioDecoder/libADM_ad_Mad.so', which is also in package avidemux2.6-plugins-common 1:2.6.12-1~getdeb3~xenial
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Selecting previously unselected package avidemux3-plugins-qt5-plugins.
Preparing to unpack avidemux3-plugins-qt5-2.6.12-160718-plugins.deb ...
Unpacking avidemux3-plugins-qt5-plugins (2.6.12-160718) ...
Selecting previously unselected package avidemux3-qt5-runtime.
Preparing to unpack avidemux3-qt5-2.6.12-160718-runtime.deb ...
Unpacking avidemux3-qt5-runtime (2.6.12-160718) ...
Preparing to unpack avidemux3-settings-2.6.12-160718-settings.deb ...
Unpacking avidemux3-settings-settings (2.6.12-160718) ...
dpkg: error processing archive avidemux3-settings-2.6.12-160718-settings.deb (--install):
 trying to overwrite '/usr/lib/ADM_plugins6/pluginSettings/x264/3/PSP.json', which is also in package avidemux2.6-plugins-common 1:2.6.12-1~getdeb3~xenial
dpkg: dependency problems prevent configuration of avidemux3-cli-runtime:
 avidemux3-cli-runtime depends on avidemux3-core-runtime (>= 2.6.12); however:
  Package avidemux3-core-runtime is not installed.

dpkg: error processing package avidemux3-cli-runtime (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of avidemux3-plugins-cli-plugins:
 avidemux3-plugins-cli-plugins depends on avidemux3-core-runtime (>= 2.6.12); however:
  Package avidemux3-core-runtime is not installed.

dpkg: error processing package avidemux3-plugins-cli-plugins (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of avidemux3-plugins-qt5-plugins:
 avidemux3-plugins-qt5-plugins depends on avidemux3-core-runtime (>= 2.6.12); however:
  Package avidemux3-core-runtime is not installed.

dpkg: error processing package avidemux3-plugins-qt5-plugins (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of avidemux3-qt5-runtime:
 avidemux3-qt5-runtime depends on avidemux3-core-runtime (>= 2.6.12); however:
  Package avidemux3-core-runtime is not installed.

dpkg: error processing package avidemux3-qt5-runtime (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 avidemux3-core-2.6.12-160718-runtime.deb
 avidemux3-plugins-COMMON-2.6.12-160718-plugins.deb
 avidemux3-settings-2.6.12-160718-settings.deb
 avidemux3-cli-runtime
 avidemux3-plugins-cli-plugins
 avidemux3-plugins-qt5-plugins
 avidemux3-qt5-runtime
siddartha@siddartha-Lenovo-G575:~/avidemux2/debs$ sudo apt-get --purge remove avidemux3-*
Reading package lists... Done
Building dependency tree       
Reading state information... Done
N: Ignoring file 'getdeb.list.bck' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: Unable to locate package avidemux3-cli-2.6.12-160718-runtime.deb
E: Couldn't find any package by glob 'avidemux3-cli-2.6.12-160718-runtime.deb'
E: Couldn't find any package by regex 'avidemux3-cli-2.6.12-160718-runtime.deb'
E: Unable to locate package avidemux3-core-2.6.12-160718-runtime.deb
E: Couldn't find any package by glob 'avidemux3-core-2.6.12-160718-runtime.deb'
E: Couldn't find any package by regex 'avidemux3-core-2.6.12-160718-runtime.deb'
E: Unable to locate package avidemux3-plugins-CLI-2.6.12-160718-plugins.deb
E: Couldn't find any package by glob 'avidemux3-plugins-CLI-2.6.12-160718-plugins.deb'
E: Couldn't find any package by regex 'avidemux3-plugins-CLI-2.6.12-160718-plugins.deb'
E: Unable to locate package avidemux3-plugins-COMMON-2.6.12-160718-plugins.deb
E: Couldn't find any package by glob 'avidemux3-plugins-COMMON-2.6.12-160718-plugins.deb'
E: Couldn't find any package by regex 'avidemux3-plugins-COMMON-2.6.12-160718-plugins.deb'
E: Unable to locate package avidemux3-plugins-qt5-2.6.12-160718-plugins.deb
E: Couldn't find any package by glob 'avidemux3-plugins-qt5-2.6.12-160718-plugins.deb'
E: Couldn't find any package by regex 'avidemux3-plugins-qt5-2.6.12-160718-plugins.deb'
E: Unable to locate package avidemux3-qt5-2.6.12-160718-runtime.deb
E: Couldn't find any package by glob 'avidemux3-qt5-2.6.12-160718-runtime.deb'
E: Couldn't find any package by regex 'avidemux3-qt5-2.6.12-160718-runtime.deb'
E: Unable to locate package avidemux3-settings-2.6.12-160718-settings.deb
E: Couldn't find any package by glob 'avidemux3-settings-2.6.12-160718-settings.deb'
E: Couldn't find any package by regex 'avidemux3-settings-2.6.12-160718-settings.deb'
siddartha@siddartha-Lenovo-G575:~/avidemux2/debs$
siddartha@siddartha-Lenovo-G575:~/avidemux2/debs$ sudo apt-get --purge remove avidemux3-*
Reading package lists... Done
Building dependency tree       
Reading state information... Done
N: Ignoring file 'getdeb.list.bck' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: Unable to locate package avidemux3-cli-2.6.12-160718-runtime.deb
E: Couldn't find any package by glob 'avidemux3-cli-2.6.12-160718-runtime.deb'
E: Couldn't find any package by regex 'avidemux3-cli-2.6.12-160718-runtime.deb'
E: Unable to locate package avidemux3-core-2.6.12-160718-runtime.deb
E: Couldn't find any package by glob 'avidemux3-core-2.6.12-160718-runtime.deb'
E: Couldn't find any package by regex 'avidemux3-core-2.6.12-160718-runtime.deb'
E: Unable to locate package avidemux3-plugins-CLI-2.6.12-160718-plugins.deb
E: Couldn't find any package by glob 'avidemux3-plugins-CLI-2.6.12-160718-plugins.deb'
E: Couldn't find any package by regex 'avidemux3-plugins-CLI-2.6.12-160718-plugins.deb'
E: Unable to locate package avidemux3-plugins-COMMON-2.6.12-160718-plugins.deb
E: Couldn't find any package by glob 'avidemux3-plugins-COMMON-2.6.12-160718-plugins.deb'
E: Couldn't find any package by regex 'avidemux3-plugins-COMMON-2.6.12-160718-plugins.deb'
E: Unable to locate package avidemux3-plugins-qt5-2.6.12-160718-plugins.deb
E: Couldn't find any package by glob 'avidemux3-plugins-qt5-2.6.12-160718-plugins.deb'
E: Couldn't find any package by regex 'avidemux3-plugins-qt5-2.6.12-160718-plugins.deb'
E: Unable to locate package avidemux3-qt5-2.6.12-160718-runtime.deb
E: Couldn't find any package by glob 'avidemux3-qt5-2.6.12-160718-runtime.deb'
E: Couldn't find any package by regex 'avidemux3-qt5-2.6.12-160718-runtime.deb'
E: Unable to locate package avidemux3-settings-2.6.12-160718-settings.deb
E: Couldn't find any package by glob 'avidemux3-settings-2.6.12-160718-settings.deb'
E: Couldn't find any package by regex 'avidemux3-settings-2.6.12-160718-settings.deb'

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 5423
Sorry this is beyond my experience:
Code: [Select]
dependency problems. Don't have a clue why you bump in to these issues.

eumagga0x2a

  • Hero Member
  • *****
  • Posts: 1240
You should always use

Code: [Select]
sudo apt-get --purge remove "avidemux3-*"
with special characters like * that can be expanded by the shell. Please note quotation marks around avidemux3-*. This is needed because otherwise the shell globbing strikes first, before apt-get gets a chance to find matching packages. This remains often unpunished unless there are files in the current directory which match the given pattern.

This said, apt-get is a pain that it doesn't test a transaction in advance but gladly drives the carriage into the mud and bails out, leaving you alone ;)




eumagga0x2a

  • Hero Member
  • *****
  • Posts: 1240
Code: [Select]
siddartha@siddartha-Lenovo-G575:~/avidemux2/debs$ cd ~/avidemux2/debs && sudo dpkg -i *
Selecting previously unselected package avidemux3-cli-runtime.
(Reading database ... 784459 files and directories currently installed.)
Preparing to unpack avidemux3-cli-2.6.12-160718-runtime.deb ...
Unpacking avidemux3-cli-runtime (2.6.12-160718) ...
Preparing to unpack avidemux3-core-2.6.12-160718-runtime.deb ...
Unpacking avidemux3-core-runtime (2.6.12-160718) ...
dpkg: error processing archive avidemux3-core-2.6.12-160718-runtime.deb (--install):
 trying to overwrite '/usr/lib/libADM_audioParser6.so', which is also in package libavidemux2.6 1:2.6.12-1~getdeb3~xenial

You should have removed all Avidemux packages provided by other sources first. Please let us see

Code: [Select]
dpkg -l | grep avidemux
Quote
Code: [Select]
siddartha@siddartha-Lenovo-G575:~/avidemux2/debs$ sudo apt-get --purge remove avidemux3-*
Reading package lists... Done
Building dependency tree       
Reading state information... Done
N: Ignoring file 'getdeb.list.bck' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: Unable to locate package avidemux3-cli-2.6.12-160718-runtime.deb
E: Couldn't find any package by glob 'avidemux3-cli-2.6.12-160718-runtime.deb'
E: Couldn't find any package by regex 'avidemux3-cli-2.6.12-160718-runtime.deb'

As stated above, the results originate from running this command without quotation marks around avidemux3-* in a folder with Avidemux debs matching the given glob pattern.