When installing rigid dryer vent and connecting pieces
Each piece of duct should fit into each other piece, in such a way that the piece closest to the dryer should fit into the piece further from the dryer.  This way,  there's no ridges for lint to get caught on.  You'll use a crimping tool, to crimp the end of ducts so that they fit into the next section.




You can then seal the seam with foil faced tape, that is listed for the use. This will prevent leaks, and hold the duct sections together.  

It's not recommend to use screws for attaching sections of duct, as they could provide places for lint to get snagged. 

You'll also want to support and secure the duct, so that it's held firmly in place. This will reduce the stresses on the joints.